<?php

header('Content-Type:application/json');//这个类型声明非常关键
header('Access-Control-Allow-Origin: *');//避免跨域

$array = [
    'status'  => 0,
    'message' => [
        [
            "src"  => "https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=2711206984,601243999&fm=173&app=25&f=JPEG?w=640&h=440&s=1EA4E6050C042D6E5630E08B03002091"
        ],
        [
            "src"      => "https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=652698312,4062830623&fm=173&app=25&f=JPEG?w=400&h=183&s=378D66A63E617815541A1F600300507A"
        ],
        [
            "src"      => "https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=4254890338,3570114532&fm=173&app=25&f=JPEG?w=400&h=200&s=F51A27760B097847024151E10300E038"
        ],
        [
            "src"      => "https://ss1.baidu.com/6ONXsjip0QIZ8tyhnq/it/u=3148521532,882473638&fm=173&app=25&f=JPEG?w=400&h=200&s=1E28E6044B2277360EFD8C7E0300903B"
        ],
    ]
];
echo json_encode($array);